set hive.exec.dynamic.partition=true;
set hive.exec.dynamic.partition.mode=nonstrict;
set hive.exec.max.dynamic.partitions= 20;
set hive.exec.max.dynamic.partitions.pernode=20;

insert overwrite table jms_dim.dim_tab_pack_money_config_dt partition(dt)
select
    id
    ,unpack_fines
    ,pack_award
    ,staff_award
    ,remark
    ,status
    ,create_time
    ,create_user
    ,update_time
    ,update_user
    ,dt
from jms_ods.tab_pack_money_config
where dt='{{ execution_date | cst_ds }}'
distribute by dt;

